package com.daka.service;

import com.daka.entity.AuctionTradeList;
import com.daka.vo.response.ListTeamAuctionVo;
import com.daka.vo.response.ListUserAuctionVo;

import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/12/28 18:25
 */
public interface AuctionTradeListService {

    int insert(AuctionTradeList record);

    AuctionTradeList selectByPrimaryKey(Long id);

    List<AuctionTradeList> selectByUserId(Long userId);

    List<AuctionTradeList> selectByStatement(AuctionTradeList record);

    int selectByStatementCount(AuctionTradeList record);

    int updateByPrimaryKeySelective(AuctionTradeList record);

    int countAll();

    List<AuctionTradeList> selectAllByGoods(Long goodId);

    List<ListUserAuctionVo> selectUserRank();

    List<ListTeamAuctionVo> selectTeamRank();

    void startOnlinePay();
}
